package com.campus.merchant.bean.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 经营数据查询参数
 *
 * @author ZhaoYuJie
 * @since 2025-01-25
 */
@Data
@ApiModel(value = "BusinessDataQueryParam", description = "经营数据查询参数")
public class BusinessDataQueryParam {

    @ApiModelProperty(value = "商户ID", required = true)
    @NotNull(message = "商户ID不能为空")
    private Integer merchantId;

    @ApiModelProperty(value = "开始日期", required = true, example = "2025-01-01")
    @NotNull(message = "开始日期不能为空")
    private String startDate;

    @ApiModelProperty(value = "结束日期", required = true, example = "2025-01-31")
    @NotNull(message = "结束日期不能为空")
    private String endDate;
}